package com.ruoyi.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: wqg
 */
@Component
@ConfigurationProperties(prefix = "rocketmq.consumers")
public class RocketMqConsumers {
    private static String repaymentConsumers;
    private static String loanApplyConsumers;

    private static String loanResultConsumer;


    private static String walletConsumer;
    public static String getWalletConsumer() {
        return walletConsumer;
    }

    public void setWalletConsumer(String walletConsumer) {
        RocketMqConsumers.walletConsumer = walletConsumer;
    }

    public static String getLoanResultConsumer() {
        return loanResultConsumer;
    }

    public void setLoanResultConsumer(String loanResultConsumer) {
        RocketMqConsumers.loanResultConsumer = loanResultConsumer;
    }

    public static String getRepaymentConsumers() {
        return repaymentConsumers;
    }

    public void setRepaymentConsumers(String repaymentConsumers) {
        RocketMqConsumers.repaymentConsumers = repaymentConsumers;
    }

    public static String getLoanApplyConsumers() {
        return loanApplyConsumers;
    }

    public void setLoanApplyConsumers(String loanApplyConsumers) {
        RocketMqConsumers.loanApplyConsumers = loanApplyConsumers;
    }
}
